<?php
// +----------------------------------------------------------------------
// | admin/v1【系统生成】   [ 2025-01-23 10:32:17 ]
// +----------------------------------------------------------------------
// | Copyright (c) 2011~2025 zhangqiquan All rights reserved.
// +----------------------------------------------------------------------
// | Author: zhangqiquan <768617998@qq.com>
// +----------------------------------------------------------------------
declare (strict_types=1);

use zhanshop\App;

App::route()->group("/bridge", function (){
      App::route()->rule("TCP", "establish", [\app\api\admin\v1\controller\Bridge::class, "establish"]);
      App::route()->rule("TCP", "message", [\app\api\admin\v1\controller\Bridge::class, "message"])->extra(["tofd","event"]);
      App::route()->rule("TCP", "push", [\app\api\admin\v1\controller\Bridge::class, "getPush"]);
      App::route()->rule("TCP", "push", [\app\api\admin\v1\controller\Bridge::class, "postPush"])->extra(["tofd"]);
      App::route()->rule("TCP", "pool", [\app\api\admin\v1\controller\Bridge::class, "pool"])->extra(["auth"]);
      App::route()->rule("GET", "warn", [\app\api\admin\v1\controller\Bridge::class, "getWarn"]);
});

